package com.itheima.tlais_web_management.mapper;

import com.itheima.tlais_web_management.pojo.Movie;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MovieMapper {

    @Select("select * from tlias.movie where name like concat('%',#{name},'%')")
    List<Movie> list(@Param("name") String name);

    void deletebuids(@Param("ids") List<Integer> ids);
}
